package com.qen.sheji.guanchazhe;

public class Client {

    public static void main(String[] args) {
        var pub = new PublisherImpl();
        pub.register(new ObserverImpl("observer 1"));
        pub.register(new ObserverImpl("observer 2"));
        pub.notify("qen.com");
    }

}
